package com.bupt.dto.network;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode
@Data
public class SatelliteDto {
    private String id;
    private String name;
    private String code;
    private String sourceName;
    private String targetName;
    private long length;
    private int year;
    private Double rate;

    public SatelliteDto(String id, String name, String code,
                        String sourceName, String targetName, long length, int year, Double rate) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.sourceName = sourceName;
        this.targetName = targetName;
        this.length = length;
        this.year = year;
        this.rate = rate;
    }
}
